package com.njitt.bysj.mapper;

import com.njitt.bysj.base.BaseMapper;
import com.njitt.bysj.bean.ProductionPickBean;
import com.njitt.bysj.query.OutMaterialQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductionPickBeanMapper extends BaseMapper<ProductionPickBean, Integer> {

    Integer pastPickTotal(@Param("projectId") Integer projectId, @Param("materialNo") String materialNo);

    List<ProductionPickBean> selectOutMaterial(OutMaterialQuery query);
}